import 'package:flutter/cupertino.dart';

class ClothType {
  String clothType;
  String clothTypeName;
  Icon icon;

  ClothType({
    required this.clothType,
    required this.clothTypeName,
    required this.icon,
  });
}

class ClosetInfo {
  String closetId;
  String closetName;

  ClosetInfo({required this.closetId, required this.closetName});
}

class ClothInfo {
  int clothId;
  String clothName;
  String clothLocation;
  int clothPrice;
  String clothSize;
  String clothColor;
  String clothMaterial;
  String clothType;
  String clothCategory;

  ClothInfo({
    required this.clothId,
    required this.clothName,
    required this.clothLocation,
    required this.clothPrice,
    required this.clothSize,
    required this.clothColor,
    required this.clothMaterial,
    required this.clothType,
    required this.clothCategory,
  });
}

class ClosetHome {
  String closetId;
  String closetName;
  List<ClosetInfo> closetList;
  List<ClothType> clothTypeList;
  List<ClothInfo> clothList;

  ClosetHome({
    required this.closetId,
    required this.closetName,
    required this.closetList,
    required this.clothTypeList,
    required this.clothList,
  });
}

final closetHome = ClosetHome(
  closetId: '1001',
  closetName: '我的时尚衣橱',
  closetList: [
    ClosetInfo(closetId: '1001', closetName: '日常衣橱'),
    ClosetInfo(closetId: '1002', closetName: '派对衣橱'),
    ClosetInfo(closetId: '1003', closetName: '运动衣橱'),
  ],
  clothTypeList: [
    ClothType(
      clothType: "all",
      clothTypeName: "全部",
      icon: Icon(CupertinoIcons.square_fill),
    ),
    ClothType(
      clothType: "top",
      clothTypeName: "上衣",
      icon: Icon(CupertinoIcons.square_fill),
    ),
    ClothType(
      clothType: "bottom",
      clothTypeName: "下衣",
      icon: Icon(CupertinoIcons.square_fill),
    ),
    ClothType(
      clothType: "shoes",
      clothTypeName: "鞋子",
      icon: Icon(CupertinoIcons.square_fill),
    ),
    ClothType(
      clothType: "accessories",
      clothTypeName: "配饰",
      icon: Icon(CupertinoIcons.square_fill),
    ),
    ClothType(
      clothType: "outerwear",
      clothTypeName: "外套",
      icon: Icon(CupertinoIcons.square_fill),
    ),
    ClothType(
      clothType: "underwear",
      clothTypeName: "内衣",
      icon: Icon(CupertinoIcons.square_fill),
    ),
  ],
  clothList: [
    ClothInfo(
      clothId: 1,
      clothName: '白色纯棉T恤',
      clothLocation: '衣橱第一层左侧',
      clothPrice: 89,
      clothSize: 'S',
      clothColor: '白色',
      clothMaterial: '纯棉',
      clothType: 'top',
      clothCategory: 'T恤',
    ),
    ClothInfo(
      clothId: 2,
      clothName: '蓝色牛仔裤',
      clothLocation: '衣橱第二层中间',
      clothPrice: 299,
      clothSize: '30',
      clothColor: '蓝色',
      clothMaterial: '牛仔布',
      clothType: 'bottom',
      clothCategory: '牛仔裤',
    ),
    ClothInfo(
      clothId: 3,
      clothName: '黑色休闲皮鞋',
      clothLocation: '鞋柜第一层',
      clothPrice: 599,
      clothSize: '42',
      clothColor: '黑色',
      clothMaterial: '牛皮',
      clothType: 'shoes',
      clothCategory: '皮鞋',
    ),
    ClothInfo(
      clothId: 4,
      clothName: '银色项链',
      clothLocation: '首饰盒第一层',
      clothPrice: 199,
      clothSize: '均码',
      clothColor: '银色',
      clothMaterial: '合金',
      clothType: 'accessories',
      clothCategory: '项链',
    ),
  ],
);
